package com.spvs.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spvs.common.core.annotation.Excel;
import com.spvs.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件归档对象 file_archive
 *
 * @author supervision
 * @date 2024-12-12
 */
public class FileArchive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 归档记录唯一标识 */
    private Long archiveId;

    /** 文件ID */
    @Excel(name = "文件ID")
    private Long fileId;

    /** 归档时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date archiveTime;

    /** 归档用户ID */
    @Excel(name = "归档用户ID")
    private Long archiveUserId;

    /** 归档路径 */
    @Excel(name = "归档路径")
    private String archivePath;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String infoExtend1;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String infoExtend2;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String infoExtend3;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String infoExtend4;

    public void setArchiveId(Long archiveId)
    {
        this.archiveId = archiveId;
    }

    public Long getArchiveId()
    {
        return archiveId;
    }
    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId()
    {
        return fileId;
    }
    public void setArchiveTime(Date archiveTime)
    {
        this.archiveTime = archiveTime;
    }

    public Date getArchiveTime()
    {
        return archiveTime;
    }
    public void setArchiveUserId(Long archiveUserId)
    {
        this.archiveUserId = archiveUserId;
    }

    public Long getArchiveUserId()
    {
        return archiveUserId;
    }
    public void setArchivePath(String archivePath)
    {
        this.archivePath = archivePath;
    }

    public String getArchivePath()
    {
        return archivePath;
    }
    public void setInfoExtend1(String infoExtend1)
    {
        this.infoExtend1 = infoExtend1;
    }

    public String getInfoExtend1()
    {
        return infoExtend1;
    }
    public void setInfoExtend2(String infoExtend2)
    {
        this.infoExtend2 = infoExtend2;
    }

    public String getInfoExtend2()
    {
        return infoExtend2;
    }
    public void setInfoExtend3(String infoExtend3)
    {
        this.infoExtend3 = infoExtend3;
    }

    public String getInfoExtend3()
    {
        return infoExtend3;
    }
    public void setInfoExtend4(String infoExtend4)
    {
        this.infoExtend4 = infoExtend4;
    }

    public String getInfoExtend4()
    {
        return infoExtend4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("archiveId", getArchiveId())
            .append("fileId", getFileId())
            .append("archiveTime", getArchiveTime())
            .append("archiveUserId", getArchiveUserId())
            .append("archivePath", getArchivePath())
            .append("infoExtend1", getInfoExtend1())
            .append("infoExtend2", getInfoExtend2())
            .append("infoExtend3", getInfoExtend3())
            .append("infoExtend4", getInfoExtend4())
            .toString();
    }
}
